package com.yhsimon.feign;


import com.yhsimon.entity.Account;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "account")
public interface AccountFeign {

    @GetMapping("/account/login/{userName}/{password}/{type}")
    public Account login(@PathVariable("userName") String userName, @PathVariable("password") String password, @PathVariable("type") String type);
}
